//
//  NSTimer+Extension.m
//  shusheng
//
//  Created by rimi on 16/7/16.
//  Copyright © 2016年 yuying. All rights reserved.
//

#import "NSTimer+Extension.h"

@implementation NSTimer (Extension)

+ (NSTimer *)creatOneTimerWithTimeInterval:(NSTimeInterval *)timeInterval
                                  selector:(NSString*)selector{
    
    NSTimer *timer = [NSTimer scheduledTimerWithTimeInterval:*timeInterval target:self selector:@selector(selector) userInfo:nil repeats:NO];
    return timer;
}

@end
